<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2019/10/11
  Time: 13:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<c:if test="${!empty pageInfo.list}">
    <c:forEach items="${pageInfo.list}" var="n">
        <div style="margin-bottom: 45px;">
            <a href="${path}/noteInfoDis/noteDis?id=${n.id}">
            <img src="${n.frontImg}" style="height:400px;width:680px;">
            </a>
            <div style="margin-top:20px;">
                <div style="margin:0 auto;width:620px;height: 40px;">
                    <div class="note_info"
                         style="float: left;height: 40px;width:502px;">
                        <!-- height: 51px; -->
                        <div class="product-buyer-name" style="width: 480px;">
                            <!-- <h3> -->
                            <img src="${path}/imgs/travler/xj.png"
                                             style="width: 62px;height:35px;">
                            <a href="${path}/noteInfoDis/noteDis?id=${n.id}" style="color: #ff8a00" target="_blank"
                               title="${n.title}"><font size="4px"><b>${n.title}</b></font></a>
                            <!-- </h3> -->
                        </div>
                    </div>
                    <div style="float: right;">
                        <c:if test="${n.support<1000000}">
                            <font size="2px" color="#999"><b>${n.support}</b></font>
                        </c:if>
                        <c:if test="${n.support>999999}">
                            <font size="2px" color="#999"><b>999999+</b></font>
                        </c:if>
                        <img src="http://pzgv309jp.bkt.clouddn.com/fabulous.gif" style="height: 37px;width: 37px">
                    </div>
                    <div style="height: 22px;width: 500px;">
                        <img src="${path}/imgs/travler/liulan.png" style="width: 18px;height:16px;">
                        <c:if test="${n.browse<1000000}">
                            <font size="2px" color="#999"><b>${n.browse}</b></font>
                        </c:if>
                        <c:if test="${n.browse>999999}">
                            <font size="2px" color="#999"><b>999999+</b></font>
                        </c:if>
                        &nbsp;&nbsp;&nbsp;<font size="2px" color="#999">
                        <fmt:formatDate value="${n.publishTime}" pattern="yyyy-MM-dd" var="year"/>${year}&nbsp;
                        <fmt:formatDate value="${n.publishTime}" pattern="hh:mm:ss" var="year"/>${year}
                    </font>

                        <c:if test="${del==1}">
                        &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button onclick="del(${n.id})"><span
                            class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
                        <!-- 模态框（Modal） -->
                        </c:if>
                    </div>
                </div>

            </div>
            <hr>

        </div>
    </c:forEach>
</c:if>
<c:if test="${empty pageInfo.list}">
    <div style="margin-bottom: 45px;">
        <img src="http://pzgv309jp.bkt.clouddn.com/noyj_v2.jpg" style="height:400px;width:680px;">

    </div>

</c:if>

<%@include file="pagenote.jsp" %>
